package com.course.controller;

import com.course.component.http.Crp;
import com.course.service.ToolService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Copyright: Copyright (c)  林中小鸟  All rights reserved.
 * @author: moon
 * @date: 2022/9/21 18:21
 * @Description: **********************
 */
@RestController
@RequestMapping(value = "/x/tool")
public class ToolController {

    @Autowired
    private ToolService toolService;

    @GetMapping("getUUId")
    public Crp getUUId(){
        return Crp.success(toolService.getUUId());
    }

    @GetMapping("getSnowId")
    public Crp getSnowId(){
        return Crp.success(toolService.getSnowId());
    }
}
